package com.moss.cloud.base.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.moss.cloud.base.api.model.param.LockPageParam;
import com.moss.cloud.base.api.model.vo.AccountLockHistoryRecordVO;
import com.moss.cloud.base.biz.model.AccountLockHistoryRecord;
import org.apache.ibatis.annotations.Param;

/**
 * 账号锁定历史记录DAO
 *
 * @author 瑾年
 * @date 2023年12月23日
 */
public interface AccountLockHistoryRecordMapper extends BaseMapper<AccountLockHistoryRecord> {
    /**
     * 账号锁定历史记录
     *
     * @param page
     * @param pageParam
     * @return
     */
    IPage<AccountLockHistoryRecordVO> historyRecord(Page page, @Param("pageParam") LockPageParam pageParam);
}
